﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace database
{
    public partial class VIPCardRecharge : Form
    {
        public VIPCardRecharge()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            //进行确认对话框
            String rec_money = this.textBox1.Text; //金额
            String rec_code = this.textBox2.Text;  //充值卡号
            String rec_opeCode = this.textBox3.Text; //操作人员编号
            System.Windows.Forms.DialogResult dr;
            dr = MessageBox.Show(this, "确认为其充值？", "确认充值",
                MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
            switch (dr)
            {
                case System.Windows.Forms.DialogResult.OK:
                    //执行sql语句进行添加操作
                    break;
                case System.Windows.Forms.DialogResult.Cancel:
                    //返回
                    break;
            }
        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {

        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.Dispose();
        }

        private void textBox3_TextChanged(object sender, EventArgs e)
        {

        }

        private void label3_Click(object sender, EventArgs e)
        {

        }

        private void textBox2_TextChanged(object sender, EventArgs e)
        {

        }

        private void label2_Click(object sender, EventArgs e)
        {

        }

        private void label1_Click(object sender, EventArgs e)
        {

        }
    }
}
